package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 补考安排对象 jx_retake_schedule
 * 
 * @author ruoyi
 * @date 2025-01-27
 */
public class JxRetakeSchedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 补考安排ID */
    private Long retakeId;

    /** 学员ID */
    @Excel(name = "学员ID")
    private Long studentId;

    /** 科目ID */
    @Excel(name = "科目ID")
    private Long subjectId;

    /** 安排时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "安排时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date scheduledTime;

    /** 状态（待考试/已完成/已取消） */
    @Excel(name = "状态", readConverterExp = "待考试=待考试,已完成=已完成,已取消=已取消")
    private String status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 学员姓名（关联查询） */
    @Excel(name = "学员姓名")
    private String studentName;

    /** 学员学号（关联查询） */
    @Excel(name = "学号")
    private String studentNo;

    /** 科目名称（关联查询） */
    @Excel(name = "科目名称")
    private String subjectName;

    /** 科目编码（关联查询） */
    @Excel(name = "科目编码")
    private String subjectCode;

    public void setRetakeId(Long retakeId) 
    {
        this.retakeId = retakeId;
    }

    public Long getRetakeId() 
    {
        return retakeId;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setSubjectId(Long subjectId) 
    {
        this.subjectId = subjectId;
    }

    public Long getSubjectId() 
    {
        return subjectId;
    }
    public void setScheduledTime(Date scheduledTime) 
    {
        this.scheduledTime = scheduledTime;
    }

    public Date getScheduledTime() 
    {
        return scheduledTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCreateTime(Date createTime) 
    {
        this.createTime = createTime;
    }

    public Date getCreateTime() 
    {
        return createTime;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getStudentNo() {
        return studentNo;
    }

    public void setStudentNo(String studentNo) {
        this.studentNo = studentNo;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public String getSubjectCode() {
        return subjectCode;
    }

    public void setSubjectCode(String subjectCode) {
        this.subjectCode = subjectCode;
    }

    @Override
    public String toString() {
        return "JxRetakeSchedule{" +
                "retakeId=" + retakeId +
                ", studentId=" + studentId +
                ", subjectId=" + subjectId +
                ", scheduledTime=" + scheduledTime +
                ", status='" + status + '\'' +
                ", createTime=" + createTime +
                ", studentName='" + studentName + '\'' +
                ", studentNo='" + studentNo + '\'' +
                ", subjectName='" + subjectName + '\'' +
                ", subjectCode='" + subjectCode + '\'' +
                '}';
    }
}
